14.3 Consultar Matrícula
Request
Request
query Enrollment {
enrollment(id: 1178) {
dependentId
financialOwnerId
registry
situation
isExempt
totalInstallmentValue
installmentQuantity
installmentValue
installmentDueDate
discountLimitDate
totalDiscount
totalDiscountIsPercentage
discount
academicYearId
academicLevelId
academicSerieId
academicClassId
contractId
status
autoEnrollment
shift
additionalStatus
isAcceptedWithDebt
integralWithUnificationOfBillings
id
refId
externalId
creationDate
active
deleted
lastUpdateDate
paymentPlan {
description
parcelQuantity
paymentPlanType
financialOwnerId
dependentId
documentFileUrl
companyId
costCenterId
financialIntegrationId
id
refId
externalId
creationDate
active
deleted
lastUpdateDate
billings {
externalToken
nn
description
value
originalValue
dueDate
competenceDate
interestValue
interestPercentage
fineValue
amountPaid
refundValue
paymentDate
refundDate
billingStatus
discount
barcode
barcodeUrl
digitableLine
pixCode
paymentType
documentCode
id
refId
externalId
creationDate
active
deleted
lastUpdateDate
hasAnyManualPayment
itIsPayable
itIsReissuable
itIsPrintable
barcodeBase64
calculatedIncreaseValue
calculatedFineValue
updatedValue
updatedComptenceDate
}
}
}
}
Params
Campo | Tipo | Descrição |
---|---|---|
id | Int! | Id da matrícula |
Response
Response
{
"data": {
"enrollment": {
"dependentId": 7389,
"financialOwnerId": 7388,
"registry": "2026140923",
"situation": "ACTIVE",
"isExempt": false,
"totalInstallmentValue": 800,
"installmentQuantity": 3,
"installmentValue": 266.6666666666667,
"installmentDueDate": "2025-10-10T03:00:00.000Z",
"discountLimitDate": null,
"totalDiscount": 10,
"totalDiscountIsPercentage": true,
"discount": 26.666666666666668,
"academicYearId": 129,
"academicLevelId": 123,
"academicSerieId": 144,
"academicClassId": 148,
"contractId": 1141,
"status": "IN_TERM_ACCEPTANCE",
"autoEnrollment": false,
"shift": null,
"additionalStatus": null,
"isAcceptedWithDebt": false,
"integralWithUnificationOfBillings": null,
"id": 1178,
"refId": "8665189f-00ce-459e-becb-7554b46dd344",
"externalId": null,
"creationDate": "2025-10-06T01:04:36.857Z",
"active": true,
"deleted": false,
"lastUpdateDate": "2025-10-06T01:49:34.252Z",
"paymentPlan": {
"description": null,
"parcelQuantity": 3,
"paymentPlanType": "MONTHLY",
"financialOwnerId": 7388,
"dependentId": 7389,
"documentFileUrl": null,
"companyId": 10,
"costCenterId": 62,
"financialIntegrationId": 17,
"id": 1707,
"refId": "f215f4b9-15ca-4256-bd62-fd6fdc4b60ee",
"externalId": null,
"creationDate": "2025-10-06T01:49:49.751Z",
"active": true,
"deleted": false,
"lastUpdateDate": "2025-10-06T01:49:49.751Z",
"billings": [
{
"externalToken": "dde51e31-4e92-4c6e-88c5-abc685f038f7",
"nn": "6534",
"description": null,
"value": 266.6667,
"originalValue": 266.6667,
"dueDate": "2025-10-10T03:00:00.000Z",
"competenceDate": null,
"interestValue": 0.09,
"interestPercentage": 1,
"fineValue": 2,
"amountPaid": null,
"refundValue": null,
"paymentDate": null,
"refundDate": null,
"billingStatus": "AWAITING_REGISTRATION",
"discount": null,
"barcode": "32994123000000266670001090000000653429333510",
"barcodeUrl": null,
"digitableLine": "32990001039000000065434293335104412300000026667",
"pixCode": null,
"paymentType": null,
"documentCode": "4783",
"id": 4783,
"refId": "de02808d-943e-4a3f-817a-5153ba00cdde",
"externalId": null,
"creationDate": "2025-10-06T01:49:49.918Z",
"active": true,
"deleted": false,
"lastUpdateDate": "2025-10-06T01:49:49.922Z",
"hasAnyManualPayment": false,
"itIsPayable": false,
"itIsReissuable": false,
"itIsPrintable": false,
"calculatedIncreaseValue": 0,
"calculatedFineValue": 0,
"updatedValue": 266.6667,
"updatedComptenceDate": "2025-10-10T03:00:00.000Z"
},
{
"externalToken": "d7b4036f-3884-44e4-89d8-7c7d14fd0a91",
"nn": "6535",
"description": null,
"value": 266.6667,
"originalValue": 266.6667,
"dueDate": "2025-11-10T03:00:00.000Z",
"competenceDate": null,
"interestValue": 0.09,
"interestPercentage": 1,
"fineValue": 2,
"amountPaid": null,
"refundValue": null,
"paymentDate": null,
"refundDate": null,
"billingStatus": "AWAITING_REGISTRATION",
"discount": null,
"barcode": "32991126100000266670001090000000653529333510",
"barcodeUrl": null,
"digitableLine": "32990001039000000065435293335101112610000026667",
"pixCode": null,
"paymentType": null,
"documentCode": "4784",
"id": 4784,
"refId": "1d028f8b-ded1-43eb-80e6-ccab22ffcb8f",
"externalId": null,
"creationDate": "2025-10-06T01:49:50.041Z",
"active": true,
"deleted": false,
"lastUpdateDate": "2025-10-06T01:49:50.041Z",
"hasAnyManualPayment": false,
"itIsPayable": false,
"itIsReissuable": false,
"itIsPrintable": false,
"calculatedIncreaseValue": 0,
"calculatedFineValue": 0,
"updatedValue": 266.6667,
"updatedComptenceDate": "2025-11-10T03:00:00.000Z"
},
{
"externalToken": "9d18a716-9882-481c-8c04-47b9b28c3284",
"nn": "6536",
"description": null,
"value": 266.6667,
"originalValue": 266.6667,
"dueDate": "2025-12-10T03:00:00.000Z",
"competenceDate": null,
"interestValue": 0.09,
"interestPercentage": 1,
"fineValue": 2,
"amountPaid": null,
"refundValue": null,
"paymentDate": null,
"refundDate": null,
"billingStatus": "AWAITING_REGISTRATION",
"discount": null,
"barcode": "32993129100000266670001090000000653629333510",
"barcodeUrl": null,
"digitableLine": "32990001039000000065436293335109312910000026667",
"pixCode": null,
"paymentType": null,
"documentCode": "4785",
"id": 4785,
"refId": "a9baa01d-8827-456b-992e-c8c317474712",
"externalId": null,
"creationDate": "2025-10-06T01:49:50.083Z",
"active": true,
"deleted": false,
"lastUpdateDate": "2025-10-06T01:49:50.083Z",
"hasAnyManualPayment": false,
"itIsPayable": false,
"itIsReissuable": false,
"itIsPrintable": false,
"calculatedIncreaseValue": 0,
"calculatedFineValue": 0,
"updatedValue": 266.6667,
"updatedComptenceDate": "2025-12-10T03:00:00.000Z"
}
]
}
}
}
}
Result
Campo | Tipo | Descrição |
---|---|---|
enrollment | Enrollment! | Objeto Enrollment |
Objeto Enrollment
Campo | Tipo | Obrigatório | Descrição |
---|---|---|---|
id | Int! | Sim (! ) | ID interno da matrícula |
refId | UUID! | Sim (! ) | ID de Referência (externo) |
registry | String! | Sim (! ) | Número de matrícula do dependente |
company | Company! | Sim (! ) | Empresa (escola) relacionada à matrícula |
dependent | Dependent! | Sim (! ) | Dados do Dependente (aluno) |
financialOwner | FinancialOwner | Não | Dados do Responsável Financeiro |
academicYear | AcademicYear! | Sim (! ) | Ano Letivo da Matrícula |
academicLevel | AcademicLevel! | Sim (! ) | Nível Acadêmico (ex: Fundamental, Médio) |
academicSerie | AcademicSerie! | Sim (! ) | Série ou Grau |
academicClass | AcademicClass | Não | Turma em que o dependente está matriculado |
situation | EnrollmentSituation! | Sim (! ) | Situação atual da matrícula (ex: Ativa, Inativa) |
status | EnrollmentStatus! | Sim (! ) | Status da matrícula (ex: Concluída, Pendente) |
shift | EnrollmentShift | Não | Turno (ex: Manhã, Tarde, Integral) |
totalInstallmentValue | Decimal | Não | Valor total das parcelas (Anuidade) |
totalDiscount | Decimal | Não | Desconto total aplicado |
totalDiscountIsPercentage | Boolean | Não | Indica se o desconto total é percentual |
paymentPlanId | Int | Não | ID do plano de pagamento vinculado |
paymentPlan | PaymentPlan | Não | Dados detalhados do plano de pagamento |
creationDate | DateTime! | Sim (! ) | Data de Criação do registro |
lastUpdateDate | DateTime | Não | Data da última atualização |
active | Boolean! | Sim (! ) | Status de Ativação |
deleted | Boolean! | Sim (! ) | Status de Deleção (Soft Delete) |